/* Generated By:JavaCC: Do not edit this line. html32TokenManager.java */ /* * @(#)html32TokenManager.java 1.11 98/03/12 * * Copyright (c) 1997 Sun Microsystems, Inc. All Rights Reserved. * * This software is the confidential and proprietary information of Sun * Microsystems, Inc. ("Confidential Information"). You shall not * disclose such Confidential Information and shall use it only in * accordance with the terms of the license agreement you entered into * with Sun. * * SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE * SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR * PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR ANY DAMAGES * SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING * THIS SOFTWARE OR ITS DERIVATIVES. * */ package com.sun.java.swing.text.html; /** * This file is a parser description for the parser generator * JavaCC. * This is used to generate an HTML parser class. The grammar * is derived from the grammar shipped with JavaCC. Documentation * about the grammar used in this file is available with JavaCC. *

* To build this file you invoke javacc on it, which in turn * will generate the following java files. *

*

* There are also some files generated by javacc that are * normally generated only once unless a newer version of * javacc is used in which cases these files might become * obsolete and need to be regenerated. These files are: *

* All of the machine generated files have been edited to * not be public, as the parser is not intended to be public * api. The parser is completely replacable, and the parser * class files from this package will not be loaded if the * parser is replaced. *

* The productions call into a callback method to deal with * the action. These methods are called XXXAction where XXX * is the name of the tag type. This helps facilitate the * separation of the parser from the rest of the kit. * * @version 1.11 03/12/98 * @author Makarand Gokhale * @author Timothy Prinzing */ import java.net.*; import java.io.*; class html32TokenManager implements html32Constants { private final int jjMoveStringLiteralDfa0_3() { return jjMoveNfa_3(0, 0); } private final void jjCheckNAdd(int state) { if (jjrounds[state] != jjround) { jjstateSet[jjnewStateCnt++] = state; jjrounds[state] = jjround; } } private final void jjAddStates(int start, int end) { do { jjstateSet[jjnewStateCnt++] = jjnextStates[start]; } while (start++ != end); } private final void jjCheckNAddTwoStates(int state1, int state2) { jjCheckNAdd(state1); jjCheckNAdd(state2); } private final void jjCheckNAddStates(int start, int end) { do { jjCheckNAdd(jjnextStates[start]); } while (start++ != end); } private final void jjCheckNAddStates(int start) { jjCheckNAdd(jjnextStates[start]); jjCheckNAdd(jjnextStates[start + 1]); } static final long[] jjbitVec0 = { 0x0L, 0x0L, 0xffffffffffffffffL, 0xffffffffffffffffL }; private final int jjMoveNfa_3(int startState, int curPos) { int[] nextStates; int startsAt = 0; jjnewStateCnt = 8; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; MatchLoop: do { switch(jjstateSet[--i]) { case 0: if ((0xbfffff7affffd9ffL & l) != 0L) { if (kind > 89) kind = 89; jjCheckNAdd(7); } else if ((0x100002600L & l) != 0L) { if (kind > 88) kind = 88; } else if (curChar == 34) jjCheckNAddTwoStates(5, 6); else if (curChar == 39) jjCheckNAddTwoStates(2, 3); break; case 1: if (curChar == 39) jjCheckNAddTwoStates(2, 3); break; case 2: if ((0xffffff7fffffffffL & l) != 0L) jjCheckNAddTwoStates(2, 3); break; case 3: if (curChar == 39 && kind > 89) kind = 89; break; case 4: if (curChar == 34) jjCheckNAddTwoStates(5, 6); break; case 5: if ((0xfffffffbffffffffL & l) != 0L) jjCheckNAddTwoStates(5, 6); break; case 6: if (curChar == 34 && kind > 89) kind = 89; break; case 7: if ((0xbfffff7affffd9ffL & l) == 0L) break; if (kind > 89) kind = 89; jjCheckNAdd(7); break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 0: case 7: if (kind > 89) kind = 89; jjCheckNAdd(7); break; case 2: jjAddStates(0, 1); break; case 5: jjAddStates(2, 3); break; default : break; } } while(i != startsAt); } else { int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 0: case 7: if ((jjbitVec0[i2] & l2) == 0L) break; if (kind > 89) kind = 89; jjCheckNAdd(7); break; case 2: if ((jjbitVec0[i2] & l2) != 0L) jjAddStates(0, 1); break; case 5: if ((jjbitVec0[i2] & l2) != 0L) jjAddStates(2, 3); break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 8 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } } } private final int jjStopStringLiteralDfa_0(int pos, long active0) { switch (pos) { case 0: if ((active0 & 0x20L) != 0L) { jjmatchedKind = 4; return 3; } return -1; default : return -1; } } private final int jjStartNfa_0(int pos, long active0) { return jjMoveNfa_0(jjStopStringLiteralDfa_0(pos, active0), pos + 1); } private final int jjStopAtPos(int pos, int kind) { jjmatchedKind = kind; jjmatchedPos = pos; return pos + 1; } private final int jjStartNfaWithStates_0(int pos, int kind, int state) { jjmatchedKind = kind; jjmatchedPos = pos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return pos + 1; } return jjMoveNfa_0(state, pos + 1); } private final int jjMoveStringLiteralDfa0_0() { switch(curChar) { case 60: return jjMoveStringLiteralDfa1_0(0x20L); default : return jjMoveNfa_0(2, 0); } } private final int jjMoveStringLiteralDfa1_0(long active0) { try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(0, active0); return 1; } switch(curChar) { case 47: if ((active0 & 0x20L) != 0L) return jjStopAtPos(1, 5); break; default : break; } return jjStartNfa_0(0, active0); } private final int jjMoveNfa_0(int startState, int curPos) { int[] nextStates; int startsAt = 0; jjnewStateCnt = 16; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; MatchLoop: do { switch(jjstateSet[--i]) { case 3: if ((0x7000000100000000L & l) != 0L) jjCheckNAdd(15); else if (curChar == 33) jjCheckNAddTwoStates(7, 8); if ((0x100002600L & l) != 0L) jjCheckNAddTwoStates(12, 13); else if (curChar == 60) { if (kind > 4) kind = 4; } else if (curChar == 33) jjCheckNAddTwoStates(4, 5); break; case 2: if ((0xefffffffffffffffL & l) != 0L) { if (kind > 6) kind = 6; jjCheckNAdd(1); } else if (curChar == 60) { if (kind > 4) kind = 4; jjCheckNAddStates(4, 6); } if ((0x100002600L & l) != 0L) { if (kind > 3) kind = 3; jjCheckNAdd(0); } else if (curChar == 60) jjAddStates(7, 8); break; case 0: if ((0x100002600L & l) == 0L) break; if (kind > 3) kind = 3; jjCheckNAdd(0); break; case 1: if ((0xefffffffffffffffL & l) == 0L) break; if (kind > 6) kind = 6; jjCheckNAdd(1); break; case 4: if ((0xbfffffffffffffffL & l) != 0L) jjCheckNAddTwoStates(4, 5); break; case 5: if (curChar == 62 && kind > 1) kind = 1; break; case 6: if (curChar == 33) jjCheckNAddTwoStates(7, 8); break; case 7: if ((0xbfffffffffffffffL & l) != 0L) jjCheckNAddTwoStates(7, 8); break; case 8: if (curChar == 62) jjCheckNAddTwoStates(9, 10); break; case 9: if ((0xafffffffffffffffL & l) != 0L) jjCheckNAddTwoStates(9, 10); break; case 10: if (curChar == 62 && kind > 2) kind = 2; break; case 11: if (curChar != 60) break; if (kind > 4) kind = 4; jjCheckNAddStates(4, 6); break; case 12: if ((0x100002600L & l) != 0L) jjCheckNAddTwoStates(12, 13); break; case 13: if (curChar == 60 && kind > 4) kind = 4; break; case 14: if ((0x7000000100000000L & l) != 0L) jjCheckNAdd(15); break; case 15: if ((0xefffffffffffffffL & l) == 0L) break; if (kind > 6) kind = 6; jjCheckNAdd(15); break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 2: case 1: if (kind > 6) kind = 6; jjCheckNAdd(1); break; case 4: jjAddStates(9, 10); break; case 7: jjAddStates(11, 12); break; case 9: jjAddStates(13, 14); break; case 15: if (kind > 6) kind = 6; jjstateSet[jjnewStateCnt++] = 15; break; default : break; } } while(i != startsAt); } else { int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 2: case 1: if ((jjbitVec0[i2] & l2) == 0L) break; if (kind > 6) kind = 6; jjCheckNAdd(1); break; case 4: if ((jjbitVec0[i2] & l2) != 0L) jjAddStates(9, 10); break; case 7: if ((jjbitVec0[i2] & l2) != 0L) jjAddStates(11, 12); break; case 9: if ((jjbitVec0[i2] & l2) != 0L) jjAddStates(13, 14); break; case 15: if ((jjbitVec0[i2] & l2) == 0L) break; if (kind > 6) kind = 6; jjstateSet[jjnewStateCnt++] = 15; break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 16 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } } } private final int jjStopStringLiteralDfa_4(int pos, long active0, long active1) { switch (pos) { case 0: if ((active1 & 0x10000000L) != 0L) return 2; return -1; default : return -1; } } private final int jjStartNfa_4(int pos, long active0, long active1) { return jjMoveNfa_4(jjStopStringLiteralDfa_4(pos, active0, active1), pos + 1); } private final int jjStartNfaWithStates_4(int pos, int kind, int state) { jjmatchedKind = kind; jjmatchedPos = pos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return pos + 1; } return jjMoveNfa_4(state, pos + 1); } private final int jjMoveStringLiteralDfa0_4() { switch(curChar) { case 45: return jjMoveStringLiteralDfa1_4(0x10000000L); default : return jjMoveNfa_4(1, 0); } } private final int jjMoveStringLiteralDfa1_4(long active1) { try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_4(0, 0L, active1); return 1; } switch(curChar) { case 45: if ((active1 & 0x10000000L) != 0L) return jjStopAtPos(1, 92); break; default : break; } return jjStartNfa_4(0, 0L, active1); } private final int jjMoveNfa_4(int startState, int curPos) { int[] nextStates; int startsAt = 0; jjnewStateCnt = 3; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; MatchLoop: do { switch(jjstateSet[--i]) { case 1: if ((0xffffdfffffffffffL & l) != 0L) { if (kind > 90) kind = 90; jjCheckNAdd(0); } else if (curChar == 45) jjCheckNAdd(2); break; case 0: if ((0xffffdfffffffffffL & l) == 0L) break; if (kind > 90) kind = 90; jjCheckNAdd(0); break; case 2: if ((0xffffdfffffffffffL & l) == 0L) break; if (kind > 91) kind = 91; jjCheckNAdd(2); break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 1: case 0: if (kind > 90) kind = 90; jjCheckNAdd(0); break; case 2: if (kind > 91) kind = 91; jjstateSet[jjnewStateCnt++] = 2; break; default : break; } } while(i != startsAt); } else { int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 1: case 0: if ((jjbitVec0[i2] & l2) == 0L) break; if (kind > 90) kind = 90; jjCheckNAdd(0); break; case 2: if ((jjbitVec0[i2] & l2) == 0L) break; if (kind > 91) kind = 91; jjstateSet[jjnewStateCnt++] = 2; break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 3 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } } } private final int jjStopStringLiteralDfa_2(int pos, long active0, long active1) { switch (pos) { case 0: if ((active1 & 0x8000L) != 0L) { jjmatchedKind = 85; return 3; } return -1; default : return -1; } } private final int jjStartNfa_2(int pos, long active0, long active1) { return jjMoveNfa_2(jjStopStringLiteralDfa_2(pos, active0, active1), pos + 1); } private final int jjStartNfaWithStates_2(int pos, int kind, int state) { jjmatchedKind = kind; jjmatchedPos = pos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return pos + 1; } return jjMoveNfa_2(state, pos + 1); } private final int jjMoveStringLiteralDfa0_2() { switch(curChar) { case 45: return jjMoveStringLiteralDfa1_2(0x8000L); case 60: jjmatchedKind = 87; return jjMoveStringLiteralDfa1_2(0x400000L); case 61: return jjStopAtPos(0, 81); case 62: return jjStopAtPos(0, 80); default : return jjMoveNfa_2(2, 0); } } private final int jjMoveStringLiteralDfa1_2(long active1) { try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_2(0, 0L, active1); return 1; } switch(curChar) { case 45: if ((active1 & 0x8000L) != 0L) return jjStartNfaWithStates_2(1, 79, 3); break; case 47: if ((active1 & 0x400000L) != 0L) return jjStopAtPos(1, 86); break; default : break; } return jjStartNfa_2(0, 0L, active1); } private final int jjMoveNfa_2(int startState, int curPos) { int[] nextStates; int startsAt = 0; jjnewStateCnt = 4; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; MatchLoop: do { switch(jjstateSet[--i]) { case 2: if ((0x8c001fffffffffffL & l) != 0L) { if (kind > 78) kind = 78; jjCheckNAdd(1); } else if ((0x600000000000L & l) != 0L) { if (kind > 85) kind = 85; jjCheckNAdd(3); } if ((0x100002600L & l) != 0L) { if (kind > 77) kind = 77; jjCheckNAdd(0); } break; case 0: if ((0x100002600L & l) == 0L) break; if (kind > 77) kind = 77; jjCheckNAdd(0); break; case 1: if ((0x8c001fffffffffffL & l) == 0L) break; if (kind > 78) kind = 78; jjCheckNAdd(1); break; case 3: if ((0x3ff600000000000L & l) == 0L) break; if (kind > 85) kind = 85; jjCheckNAdd(3); break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 2: if ((0x7fffffe87fffffeL & l) != 0L) { if (kind > 85) kind = 85; jjCheckNAdd(3); } else if ((0xf800000178000001L & l) != 0L) { if (kind > 78) kind = 78; jjCheckNAdd(1); } break; case 1: if ((0xf800000178000001L & l) == 0L) break; kind = 78; jjCheckNAdd(1); break; case 3: if ((0x7fffffe87fffffeL & l) == 0L) break; if (kind > 85) kind = 85; jjCheckNAdd(3); break; default : break; } } while(i != startsAt); } else { int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 2: case 1: if ((jjbitVec0[i2] & l2) == 0L) break; if (kind > 78) kind = 78; jjCheckNAdd(1); break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 4 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } } } private final int jjStopStringLiteralDfa_1(int pos, long active0, long active1) { switch (pos) { case 0: if ((active0 & 0xfff00f000003ff80L) != 0L || (active1 & 0x603L) != 0L) return 0; if ((active0 & 0xff0fffffc0000L) != 0L || (active1 & 0x9fcL) != 0L) { jjmatchedKind = 76; return 0; } return -1; case 1: if ((active0 & 0x4605f9c420000L) != 0L || (active1 & 0x5a8L) != 0L) return 0; if ((active0 & 0xdfeb9ea063bdf700L) != 0L || (active1 & 0x857L) != 0L) { if (jjmatchedPos != 1) { jjmatchedKind = 76; jjmatchedPos = 1; } return 0; } return -1; case 2: if ((active0 & 0xdfab4ca0603db700L) != 0L || (active1 & 0x54L) != 0L) { jjmatchedKind = 76; jjmatchedPos = 2; return 0; } if ((active0 & 0x40920003804000L) != 0L || (active1 & 0x803L) != 0L) return 0; return -1; case 3: if ((active0 & 0xdea80c00000c8300L) != 0L || (active1 & 0x54L) != 0L) { if (jjmatchedPos != 3) { jjmatchedKind = 76; jjmatchedPos = 3; } return 0; } if ((active0 & 0x10340a060313400L) != 0L) return 0; return -1; case 4: if ((active0 & 0x8820040000000000L) != 0L || (active1 & 0x44L) != 0L) return 0; if ((active0 & 0x56880800000ca300L) != 0L || (active1 & 0x10L) != 0L) { jjmatchedKind = 76; jjmatchedPos = 4; return 0; } return -1; case 5: if ((active0 & 0x5688000000080200L) != 0L) return 0; if ((active0 & 0x8000004a100L) != 0L || (active1 & 0x10L) != 0L) { jjmatchedKind = 76; jjmatchedPos = 5; return 0; } return -1; case 6: if ((active0 & 0xa000L) != 0L || (active1 & 0x10L) != 0L) { jjmatchedKind = 76; jjmatchedPos = 6; return 0; } if ((active0 & 0x80000040100L) != 0L) return 0; return -1; case 7: if ((active0 & 0x2000L) != 0L || (active1 & 0x10L) != 0L) return 0; if ((active0 & 0x8000L) != 0L) { jjmatchedKind = 76; jjmatchedPos = 7; return 0; } return -1; case 8: if ((active0 & 0x8000L) != 0L) { jjmatchedKind = 76; jjmatchedPos = 8; return 0; } return -1; default : return -1; } } private final int jjStartNfa_1(int pos, long active0, long active1) { return jjMoveNfa_1(jjStopStringLiteralDfa_1(pos, active0, active1), pos + 1); } private final int jjStartNfaWithStates_1(int pos, int kind, int state) { jjmatchedKind = kind; jjmatchedPos = pos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return pos + 1; } return jjMoveNfa_1(state, pos + 1); } private final int jjMoveStringLiteralDfa0_1() { switch(curChar) { case 65: jjmatchedKind = 7; return jjMoveStringLiteralDfa1_1(0x700L, 0x0L); case 66: jjmatchedKind = 11; return jjMoveStringLiteralDfa1_1(0x3f000L, 0x0L); case 67: return jjMoveStringLiteralDfa1_1(0x3c0000L, 0x0L); case 68: return jjMoveStringLiteralDfa1_1(0xfc00000L, 0x0L); case 69: return jjMoveStringLiteralDfa1_1(0x10000000L, 0x0L); case 70: return jjMoveStringLiteralDfa1_1(0x60000000L, 0x0L); case 72: return jjMoveStringLiteralDfa1_1(0xff80000000L, 0x0L); case 73: jjmatchedKind = 40; return jjMoveStringLiteralDfa1_1(0xe0000000000L, 0x0L); case 75: return jjMoveStringLiteralDfa1_1(0x100000000000L, 0x0L); case 76: return jjMoveStringLiteralDfa1_1(0x600000000000L, 0x0L); case 77: return jjMoveStringLiteralDfa1_1(0x3800000000000L, 0x0L); case 79: return jjMoveStringLiteralDfa1_1(0xc000000000000L, 0x0L); case 80: jjmatchedKind = 52; return jjMoveStringLiteralDfa1_1(0xe0000000000000L, 0x0L); case 83: jjmatchedKind = 61; return jjMoveStringLiteralDfa1_1(0xdf00000000000000L, 0x3L); case 84: return jjMoveStringLiteralDfa1_1(0x0L, 0x1fcL); case 85: jjmatchedKind = 73; return jjMoveStringLiteralDfa1_1(0x0L, 0x400L); case 86: return jjMoveStringLiteralDfa1_1(0x0L, 0x800L); case 97: jjmatchedKind = 7; return jjMoveStringLiteralDfa1_1(0x700L, 0x0L); case 98: jjmatchedKind = 11; return jjMoveStringLiteralDfa1_1(0x3f000L, 0x0L); case 99: return jjMoveStringLiteralDfa1_1(0x3c0000L, 0x0L); case 100: return jjMoveStringLiteralDfa1_1(0xfc00000L, 0x0L); case 101: return jjMoveStringLiteralDfa1_1(0x10000000L, 0x0L); case 102: return jjMoveStringLiteralDfa1_1(0x60000000L, 0x0L); case 104: return jjMoveStringLiteralDfa1_1(0xff80000000L, 0x0L); case 105: jjmatchedKind = 40; return jjMoveStringLiteralDfa1_1(0xe0000000000L, 0x0L); case 107: return jjMoveStringLiteralDfa1_1(0x100000000000L, 0x0L); case 108: return jjMoveStringLiteralDfa1_1(0x600000000000L, 0x0L); case 109: return jjMoveStringLiteralDfa1_1(0x3800000000000L, 0x0L); case 111: return jjMoveStringLiteralDfa1_1(0xc000000000000L, 0x0L); case 112: jjmatchedKind = 52; return jjMoveStringLiteralDfa1_1(0xe0000000000000L, 0x0L); case 115: jjmatchedKind = 61; return jjMoveStringLiteralDfa1_1(0xdf00000000000000L, 0x3L); case 116: return jjMoveStringLiteralDfa1_1(0x0L, 0x1fcL); case 117: jjmatchedKind = 73; return jjMoveStringLiteralDfa1_1(0x0L, 0x400L); case 118: return jjMoveStringLiteralDfa1_1(0x0L, 0x800L); default : return jjMoveNfa_1(0, 0); } } private final int jjMoveStringLiteralDfa1_1(long active0, long active1) { try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_1(0, active0, active1); return 1; } switch(curChar) { case 49: if ((active0 & 0x80000000L) != 0L) return jjStartNfaWithStates_1(1, 31, 0); break; case 50: if ((active0 & 0x100000000L) != 0L) return jjStartNfaWithStates_1(1, 32, 0); break; case 51: if ((active0 & 0x200000000L) != 0L) return jjStartNfaWithStates_1(1, 33, 0); break; case 52: if ((active0 & 0x400000000L) != 0L) return jjStartNfaWithStates_1(1, 34, 0); break; case 53: if ((active0 & 0x800000000L) != 0L) return jjStartNfaWithStates_1(1, 35, 0); break; case 54: if ((active0 & 0x1000000000L) != 0L) return jjStartNfaWithStates_1(1, 36, 0); break; case 65: return jjMoveStringLiteralDfa2_1(active0, 0x120800000043000L, active1, 0x804L); case 66: return jjMoveStringLiteralDfa2_1(active0, 0x100000000000L, active1, 0L); case 67: return jjMoveStringLiteralDfa2_1(active0, 0x200000000000000L, active1, 0L); case 68: if ((active0 & 0x400000L) != 0L) return jjStartNfaWithStates_1(1, 22, 0); else if ((active1 & 0x8L) != 0L) return jjStartNfaWithStates_1(1, 67, 0); return jjMoveStringLiteralDfa2_1(active0, 0x100L, active1, 0L); case 69: return jjMoveStringLiteralDfa2_1(active0, 0x403002000080000L, active1, 0x10L); case 70: return jjMoveStringLiteralDfa2_1(active0, 0x800000L, active1, 0L); case 72: if ((active1 & 0x20L) != 0L) return jjStartNfaWithStates_1(1, 69, 0); break; case 73: if ((active0 & 0x200000000000L) != 0L) { jjmatchedKind = 45; jjmatchedPos = 1; } return jjMoveStringLiteralDfa2_1(active0, 0x400003104000L, active1, 0x40L); case 76: if ((active0 & 0x4000000L) != 0L) return jjStartNfaWithStates_1(1, 26, 0); else if ((active0 & 0x4000000000000L) != 0L) return jjStartNfaWithStates_1(1, 50, 0); else if ((active1 & 0x400L) != 0L) return jjStartNfaWithStates_1(1, 74, 0); return jjMoveStringLiteralDfa2_1(active0, 0x8000L, active1, 0L); case 77: if ((active0 & 0x10000000L) != 0L) return jjStartNfaWithStates_1(1, 28, 0); return jjMoveStringLiteralDfa2_1(active0, 0x800020000000000L, active1, 0L); case 78: return jjMoveStringLiteralDfa2_1(active0, 0x40000000000L, active1, 0L); case 79: return jjMoveStringLiteralDfa2_1(active0, 0x60210000L, active1, 0L); case 80: return jjMoveStringLiteralDfa2_1(active0, 0x8000000000200L, active1, 0L); case 82: if ((active0 & 0x20000L) != 0L) return jjStartNfaWithStates_1(1, 17, 0); else if ((active0 & 0x4000000000L) != 0L) return jjStartNfaWithStates_1(1, 38, 0); else if ((active1 & 0x80L) != 0L) return jjStartNfaWithStates_1(1, 71, 0); return jjMoveStringLiteralDfa2_1(active0, 0xc0000000000400L, active1, 0L); case 83: return jjMoveStringLiteralDfa2_1(active0, 0x80000000000L, active1, 0L); case 84: if ((active0 & 0x8000000L) != 0L) return jjStartNfaWithStates_1(1, 27, 0); else if ((active1 & 0x100L) != 0L) return jjStartNfaWithStates_1(1, 72, 0); return jjMoveStringLiteralDfa2_1(active0, 0xd000008000000000L, active1, 0L); case 85: return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0x3L); case 97: return jjMoveStringLiteralDfa2_1(active0, 0x120800000043000L, active1, 0x804L); case 98: return jjMoveStringLiteralDfa2_1(active0, 0x100000000000L, active1, 0L); case 99: return jjMoveStringLiteralDfa2_1(active0, 0x200000000000000L, active1, 0L); case 100: if ((active0 & 0x400000L) != 0L) return jjStartNfaWithStates_1(1, 22, 0); else if ((active1 & 0x8L) != 0L) return jjStartNfaWithStates_1(1, 67, 0); return jjMoveStringLiteralDfa2_1(active0, 0x100L, active1, 0L); case 101: return jjMoveStringLiteralDfa2_1(active0, 0x403002000080000L, active1, 0x10L); case 102: return jjMoveStringLiteralDfa2_1(active0, 0x800000L, active1, 0L); case 104: if ((active1 & 0x20L) != 0L) return jjStartNfaWithStates_1(1, 69, 0); break; case 105: if ((active0 & 0x200000000000L) != 0L) { jjmatchedKind = 45; jjmatchedPos = 1; } return jjMoveStringLiteralDfa2_1(active0, 0x400003104000L, active1, 0x40L); case 108: if ((active0 & 0x4000000L) != 0L) return jjStartNfaWithStates_1(1, 26, 0); else if ((active0 & 0x4000000000000L) != 0L) return jjStartNfaWithStates_1(1, 50, 0); else if ((active1 & 0x400L) != 0L) return jjStartNfaWithStates_1(1, 74, 0); return jjMoveStringLiteralDfa2_1(active0, 0x8000L, active1, 0L); case 109: if ((active0 & 0x10000000L) != 0L) return jjStartNfaWithStates_1(1, 28, 0); return jjMoveStringLiteralDfa2_1(active0, 0x800020000000000L, active1, 0L); case 110: return jjMoveStringLiteralDfa2_1(active0, 0x40000000000L, active1, 0L); case 111: return jjMoveStringLiteralDfa2_1(active0, 0x60210000L, active1, 0L); case 112: return jjMoveStringLiteralDfa2_1(active0, 0x8000000000200L, active1, 0L); case 114: if ((active0 & 0x20000L) != 0L) return jjStartNfaWithStates_1(1, 17, 0); else if ((active0 & 0x4000000000L) != 0L) return jjStartNfaWithStates_1(1, 38, 0); else if ((active1 & 0x80L) != 0L) return jjStartNfaWithStates_1(1, 71, 0); return jjMoveStringLiteralDfa2_1(active0, 0xc0000000000400L, active1, 0L); case 115: return jjMoveStringLiteralDfa2_1(active0, 0x80000000000L, active1, 0L); case 116: if ((active0 & 0x8000000L) != 0L) return jjStartNfaWithStates_1(1, 27, 0); else if ((active1 & 0x100L) != 0L) return jjStartNfaWithStates_1(1, 72, 0); return jjMoveStringLiteralDfa2_1(active0, 0xd000008000000000L, active1, 0L); case 117: return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0x3L); default : break; } return jjStartNfa_1(0, active0, active1); } private final int jjMoveStringLiteralDfa2_1(long old0, long active0, long old1, long active1) { if (((active0 &= old0) | (active1 &= old1)) == 0L) return jjStartNfa_1(0, old0, old1); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_1(1, active0, active1); return 2; } switch(curChar) { case 65: return jjMoveStringLiteralDfa3_1(active0, 0x800002000000000L, active1, 0L); case 66: if ((active1 & 0x1L) != 0L) return jjStartNfaWithStates_1(2, 64, 0); return jjMoveStringLiteralDfa3_1(active0, 0L, active1, 0x4L); case 68: if ((active0 & 0x100000000000L) != 0L) return jjStartNfaWithStates_1(2, 44, 0); return jjMoveStringLiteralDfa3_1(active0, 0x210100L, active1, 0L); case 69: if ((active0 & 0x40000000000000L) != 0L) return jjStartNfaWithStates_1(2, 54, 0); return jjMoveStringLiteralDfa3_1(active0, 0x400L, active1, 0L); case 71: if ((active0 & 0x4000L) != 0L) return jjStartNfaWithStates_1(2, 14, 0); else if ((active0 & 0x20000000000L) != 0L) return jjStartNfaWithStates_1(2, 41, 0); break; case 73: return jjMoveStringLiteralDfa3_1(active0, 0x80000000000L, active1, 0L); case 76: return jjMoveStringLiteralDfa3_1(active0, 0x400000000000000L, active1, 0L); case 77: return jjMoveStringLiteralDfa3_1(active0, 0x100008000000000L, active1, 0L); case 78: if ((active0 & 0x800000L) != 0L) return jjStartNfaWithStates_1(2, 23, 0); return jjMoveStringLiteralDfa3_1(active0, 0x1400020080000L, active1, 0L); case 79: return jjMoveStringLiteralDfa3_1(active0, 0x80000000008000L, active1, 0L); case 80: if ((active0 & 0x800000000000L) != 0L) return jjStartNfaWithStates_1(2, 47, 0); else if ((active1 & 0x2L) != 0L) return jjStartNfaWithStates_1(2, 65, 0); return jjMoveStringLiteralDfa3_1(active0, 0x40000040200L, active1, 0L); case 82: if ((active0 & 0x1000000L) != 0L) return jjStartNfaWithStates_1(2, 24, 0); else if ((active1 & 0x800L) != 0L) return jjStartNfaWithStates_1(2, 75, 0); return jjMoveStringLiteralDfa3_1(active0, 0x5220000040000000L, active1, 0L); case 83: return jjMoveStringLiteralDfa3_1(active0, 0x3000L, active1, 0L); case 84: return jjMoveStringLiteralDfa3_1(active0, 0xa000000100000L, active1, 0x40L); case 86: if ((active0 & 0x2000000L) != 0L) return jjStartNfaWithStates_1(2, 25, 0); break; case 88: return jjMoveStringLiteralDfa3_1(active0, 0L, active1, 0x10L); case 89: return jjMoveStringLiteralDfa3_1(active0, 0x8000000000000000L, active1, 0L); case 97: return jjMoveStringLiteralDfa3_1(active0, 0x800002000000000L, active1, 0L); case 98: if ((active1 & 0x1L) != 0L) return jjStartNfaWithStates_1(2, 64, 0); return jjMoveStringLiteralDfa3_1(active0, 0L, active1, 0x4L); case 100: if ((active0 & 0x100000000000L) != 0L) return jjStartNfaWithStates_1(2, 44, 0); return jjMoveStringLiteralDfa3_1(active0, 0x210100L, active1, 0L); case 101: if ((active0 & 0x40000000000000L) != 0L) return jjStartNfaWithStates_1(2, 54, 0); return jjMoveStringLiteralDfa3_1(active0, 0x400L, active1, 0L); case 103: if ((active0 & 0x4000L) != 0L) return jjStartNfaWithStates_1(2, 14, 0); else if ((active0 & 0x20000000000L) != 0L) return jjStartNfaWithStates_1(2, 41, 0); break; case 105: return jjMoveStringLiteralDfa3_1(active0, 0x80000000000L, active1, 0L); case 108: return jjMoveStringLiteralDfa3_1(active0, 0x400000000000000L, active1, 0L); case 109: return jjMoveStringLiteralDfa3_1(active0, 0x100008000000000L, active1, 0L); case 110: if ((active0 & 0x800000L) != 0L) return jjStartNfaWithStates_1(2, 23, 0); return jjMoveStringLiteralDfa3_1(active0, 0x1400020080000L, active1, 0L); case 111: return jjMoveStringLiteralDfa3_1(active0, 0x80000000008000L, active1, 0L); case 112: if ((active0 & 0x800000000000L) != 0L) return jjStartNfaWithStates_1(2, 47, 0); else if ((active1 & 0x2L) != 0L) return jjStartNfaWithStates_1(2, 65, 0); return jjMoveStringLiteralDfa3_1(active0, 0x40000040200L, active1, 0L); case 114: if ((active0 & 0x1000000L) != 0L) return jjStartNfaWithStates_1(2, 24, 0); else if ((active1 & 0x800L) != 0L) return jjStartNfaWithStates_1(2, 75, 0); return jjMoveStringLiteralDfa3_1(active0, 0x5220000040000000L, active1, 0L); case 115: return jjMoveStringLiteralDfa3_1(active0, 0x3000L, active1, 0L); case 116: return jjMoveStringLiteralDfa3_1(active0, 0xa000000100000L, active1, 0x40L); case 118: if ((active0 & 0x2000000L) != 0L) return jjStartNfaWithStates_1(2, 25, 0); break; case 120: return jjMoveStringLiteralDfa3_1(active0, 0L, active1, 0x10L); case 121: return jjMoveStringLiteralDfa3_1(active0, 0x8000000000000000L, active1, 0L); default : break; } return jjStartNfa_1(1, active0, active1); } private final int jjMoveStringLiteralDfa3_1(long old0, long active0, long old1, long active1) { if (((active0 &= old0) | (active1 &= old1)) == 0L) return jjStartNfa_1(1, old0, old1); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_1(2, active0, active1); return 3; } switch(curChar) { case 65: if ((active0 & 0x400L) != 0L) return jjStartNfaWithStates_1(3, 10, 0); else if ((active0 & 0x2000000000000L) != 0L) return jjStartNfaWithStates_1(3, 49, 0); return jjMoveStringLiteralDfa4_1(active0, 0x20000000000000L, active1, 0L); case 67: return jjMoveStringLiteralDfa4_1(active0, 0x8000L, active1, 0L); case 68: if ((active0 & 0x2000000000L) != 0L) return jjStartNfaWithStates_1(3, 37, 0); break; case 69: if ((active0 & 0x1000L) != 0L) { jjmatchedKind = 12; jjmatchedPos = 3; } else if ((active0 & 0x100000L) != 0L) return jjStartNfaWithStates_1(3, 20, 0); else if ((active0 & 0x200000L) != 0L) return jjStartNfaWithStates_1(3, 21, 0); return jjMoveStringLiteralDfa4_1(active0, 0x400000000002000L, active1, 0L); case 73: return jjMoveStringLiteralDfa4_1(active0, 0x1208000000000000L, active1, 0L); case 75: if ((active0 & 0x400000000000L) != 0L) return jjStartNfaWithStates_1(3, 46, 0); break; case 76: if ((active0 & 0x8000000000L) != 0L) return jjStartNfaWithStates_1(3, 39, 0); return jjMoveStringLiteralDfa4_1(active0, 0x8800000000000200L, active1, 0x44L); case 77: if ((active0 & 0x40000000L) != 0L) return jjStartNfaWithStates_1(3, 30, 0); return jjMoveStringLiteralDfa4_1(active0, 0x80000000000000L, active1, 0L); case 78: return jjMoveStringLiteralDfa4_1(active0, 0x80000000000L, active1, 0L); case 79: return jjMoveStringLiteralDfa4_1(active0, 0x4000000000000000L, active1, 0L); case 80: if ((active0 & 0x100000000000000L) != 0L) return jjStartNfaWithStates_1(3, 56, 0); break; case 82: return jjMoveStringLiteralDfa4_1(active0, 0x100L, active1, 0L); case 84: if ((active0 & 0x20000000L) != 0L) return jjStartNfaWithStates_1(3, 29, 0); return jjMoveStringLiteralDfa4_1(active0, 0xc0000L, active1, 0x10L); case 85: if ((active0 & 0x1000000000000L) != 0L) return jjStartNfaWithStates_1(3, 48, 0); return jjMoveStringLiteralDfa4_1(active0, 0x40000000000L, active1, 0L); case 89: if ((active0 & 0x10000L) != 0L) return jjStartNfaWithStates_1(3, 16, 0); break; case 97: if ((active0 & 0x400L) != 0L) return jjStartNfaWithStates_1(3, 10, 0); else if ((active0 & 0x2000000000000L) != 0L) return jjStartNfaWithStates_1(3, 49, 0); return jjMoveStringLiteralDfa4_1(active0, 0x20000000000000L, active1, 0L); case 99: return jjMoveStringLiteralDfa4_1(active0, 0x8000L, active1, 0L); case 100: if ((active0 & 0x2000000000L) != 0L) return jjStartNfaWithStates_1(3, 37, 0); break; case 101: if ((active0 & 0x1000L) != 0L) { jjmatchedKind = 12; jjmatchedPos = 3; } else if ((active0 & 0x100000L) != 0L) return jjStartNfaWithStates_1(3, 20, 0); else if ((active0 & 0x200000L) != 0L) return jjStartNfaWithStates_1(3, 21, 0); return jjMoveStringLiteralDfa4_1(active0, 0x400000000002000L, active1, 0L); case 105: return jjMoveStringLiteralDfa4_1(active0, 0x1208000000000000L, active1, 0L); case 107: if ((active0 & 0x400000000000L) != 0L) return jjStartNfaWithStates_1(3, 46, 0); break; case 108: if ((active0 & 0x8000000000L) != 0L) return jjStartNfaWithStates_1(3, 39, 0); return jjMoveStringLiteralDfa4_1(active0, 0x8800000000000200L, active1, 0x44L); case 109: if ((active0 & 0x40000000L) != 0L) return jjStartNfaWithStates_1(3, 30, 0); return jjMoveStringLiteralDfa4_1(active0, 0x80000000000000L, active1, 0L); case 110: return jjMoveStringLiteralDfa4_1(active0, 0x80000000000L, active1, 0L); case 111: return jjMoveStringLiteralDfa4_1(active0, 0x4000000000000000L, active1, 0L); case 112: if ((active0 & 0x100000000000000L) != 0L) return jjStartNfaWithStates_1(3, 56, 0); break; case 114: return jjMoveStringLiteralDfa4_1(active0, 0x100L, active1, 0L); case 116: if ((active0 & 0x20000000L) != 0L) return jjStartNfaWithStates_1(3, 29, 0); return jjMoveStringLiteralDfa4_1(active0, 0xc0000L, active1, 0x10L); case 117: if ((active0 & 0x1000000000000L) != 0L) return jjStartNfaWithStates_1(3, 48, 0); return jjMoveStringLiteralDfa4_1(active0, 0x40000000000L, active1, 0L); case 121: if ((active0 & 0x10000L) != 0L) return jjStartNfaWithStates_1(3, 16, 0); break; default : break; } return jjStartNfa_1(2, active0, active1); } private final int jjMoveStringLiteralDfa4_1(long old0, long active0, long old1, long active1) { if (((active0 &= old0) | (active1 &= old1)) == 0L) return jjStartNfa_1(2, old0, old1); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_1(3, active0, active1); return 4; } switch(curChar) { case 65: return jjMoveStringLiteralDfa5_1(active0, 0L, active1, 0x10L); case 67: return jjMoveStringLiteralDfa5_1(active0, 0x400000000000000L, active1, 0L); case 68: return jjMoveStringLiteralDfa5_1(active0, 0x80000000000L, active1, 0L); case 69: if ((active0 & 0x8000000000000000L) != 0L) return jjStartNfaWithStates_1(4, 63, 0); else if ((active1 & 0x4L) != 0L) return jjStartNfaWithStates_1(4, 66, 0); else if ((active1 & 0x40L) != 0L) return jjStartNfaWithStates_1(4, 70, 0); return jjMoveStringLiteralDfa5_1(active0, 0x80300L, active1, 0L); case 70: return jjMoveStringLiteralDfa5_1(active0, 0x2000L, active1, 0L); case 73: return jjMoveStringLiteralDfa5_1(active0, 0x40000L, active1, 0L); case 75: return jjMoveStringLiteralDfa5_1(active0, 0x1000000000008000L, active1, 0L); case 76: if ((active0 & 0x800000000000000L) != 0L) return jjStartNfaWithStates_1(4, 59, 0); break; case 77: if ((active0 & 0x20000000000000L) != 0L) return jjStartNfaWithStates_1(4, 53, 0); break; case 78: return jjMoveStringLiteralDfa5_1(active0, 0x4000000000000000L, active1, 0L); case 79: return jjMoveStringLiteralDfa5_1(active0, 0x8000000000000L, active1, 0L); case 80: return jjMoveStringLiteralDfa5_1(active0, 0x280000000000000L, active1, 0L); case 84: if ((active0 & 0x40000000000L) != 0L) return jjStartNfaWithStates_1(4, 42, 0); break; case 97: return jjMoveStringLiteralDfa5_1(active0, 0L, active1, 0x10L); case 99: return jjMoveStringLiteralDfa5_1(active0, 0x400000000000000L, active1, 0L); case 100: return jjMoveStringLiteralDfa5_1(active0, 0x80000000000L, active1, 0L); case 101: if ((active0 & 0x8000000000000000L) != 0L) return jjStartNfaWithStates_1(4, 63, 0); else if ((active1 & 0x4L) != 0L) return jjStartNfaWithStates_1(4, 66, 0); else if ((active1 & 0x40L) != 0L) return jjStartNfaWithStates_1(4, 70, 0); return jjMoveStringLiteralDfa5_1(active0, 0x80300L, active1, 0L); case 102: return jjMoveStringLiteralDfa5_1(active0, 0x2000L, active1, 0L); case 105: return jjMoveStringLiteralDfa5_1(active0, 0x40000L, active1, 0L); case 107: return jjMoveStringLiteralDfa5_1(active0, 0x1000000000008000L, active1, 0L); case 108: if ((active0 & 0x800000000000000L) != 0L) return jjStartNfaWithStates_1(4, 59, 0); break; case 109: if ((active0 & 0x20000000000000L) != 0L) return jjStartNfaWithStates_1(4, 53, 0); break; case 110: return jjMoveStringLiteralDfa5_1(active0, 0x4000000000000000L, active1, 0L); case 111: return jjMoveStringLiteralDfa5_1(active0, 0x8000000000000L, active1, 0L); case 112: return jjMoveStringLiteralDfa5_1(active0, 0x280000000000000L, active1, 0L); case 116: if ((active0 & 0x40000000000L) != 0L) return jjStartNfaWithStates_1(4, 42, 0); break; default : break; } return jjStartNfa_1(3, active0, active1); } private final int jjMoveStringLiteralDfa5_1(long old0, long active0, long old1, long active1) { if (((active0 &= old0) | (active1 &= old1)) == 0L) return jjStartNfa_1(3, old0, old1); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_1(4, active0, active1); return 5; } switch(curChar) { case 69: if ((active0 & 0x1000000000000000L) != 0L) return jjStartNfaWithStates_1(5, 60, 0); return jjMoveStringLiteralDfa6_1(active0, 0x80000000000L, active1, 0L); case 71: if ((active0 & 0x4000000000000000L) != 0L) return jjStartNfaWithStates_1(5, 62, 0); break; case 78: if ((active0 & 0x8000000000000L) != 0L) return jjStartNfaWithStates_1(5, 51, 0); break; case 79: return jjMoveStringLiteralDfa6_1(active0, 0x42000L, active1, 0L); case 81: return jjMoveStringLiteralDfa6_1(active0, 0x8000L, active1, 0L); case 82: if ((active0 & 0x80000L) != 0L) return jjStartNfaWithStates_1(5, 19, 0); return jjMoveStringLiteralDfa6_1(active0, 0L, active1, 0x10L); case 83: return jjMoveStringLiteralDfa6_1(active0, 0x100L, active1, 0L); case 84: if ((active0 & 0x200L) != 0L) return jjStartNfaWithStates_1(5, 9, 0); else if ((active0 & 0x80000000000000L) != 0L) return jjStartNfaWithStates_1(5, 55, 0); else if ((active0 & 0x200000000000000L) != 0L) return jjStartNfaWithStates_1(5, 57, 0); else if ((active0 & 0x400000000000000L) != 0L) return jjStartNfaWithStates_1(5, 58, 0); break; case 101: if ((active0 & 0x1000000000000000L) != 0L) return jjStartNfaWithStates_1(5, 60, 0); return jjMoveStringLiteralDfa6_1(active0, 0x80000000000L, active1, 0L); case 103: if ((active0 & 0x4000000000000000L) != 0L) return jjStartNfaWithStates_1(5, 62, 0); break; case 110: if ((active0 & 0x8000000000000L) != 0L) return jjStartNfaWithStates_1(5, 51, 0); break; case 111: return jjMoveStringLiteralDfa6_1(active0, 0x42000L, active1, 0L); case 113: return jjMoveStringLiteralDfa6_1(active0, 0x8000L, active1, 0L); case 114: if ((active0 & 0x80000L) != 0L) return jjStartNfaWithStates_1(5, 19, 0); return jjMoveStringLiteralDfa6_1(active0, 0L, active1, 0x10L); case 115: return jjMoveStringLiteralDfa6_1(active0, 0x100L, active1, 0L); case 116: if ((active0 & 0x200L) != 0L) return jjStartNfaWithStates_1(5, 9, 0); else if ((active0 & 0x80000000000000L) != 0L) return jjStartNfaWithStates_1(5, 55, 0); else if ((active0 & 0x200000000000000L) != 0L) return jjStartNfaWithStates_1(5, 57, 0); else if ((active0 & 0x400000000000000L) != 0L) return jjStartNfaWithStates_1(5, 58, 0); break; default : break; } return jjStartNfa_1(4, active0, active1); } private final int jjMoveStringLiteralDfa6_1(long old0, long active0, long old1, long active1) { if (((active0 &= old0) | (active1 &= old1)) == 0L) return jjStartNfa_1(4, old0, old1); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_1(5, active0, active1); return 6; } switch(curChar) { case 69: return jjMoveStringLiteralDfa7_1(active0, 0L, active1, 0x10L); case 78: if ((active0 & 0x40000L) != 0L) return jjStartNfaWithStates_1(6, 18, 0); return jjMoveStringLiteralDfa7_1(active0, 0x2000L, active1, 0L); case 83: if ((active0 & 0x100L) != 0L) return jjStartNfaWithStates_1(6, 8, 0); break; case 85: return jjMoveStringLiteralDfa7_1(active0, 0x8000L, active1, 0L); case 88: if ((active0 & 0x80000000000L) != 0L) return jjStartNfaWithStates_1(6, 43, 0); break; case 101: return jjMoveStringLiteralDfa7_1(active0, 0L, active1, 0x10L); case 110: if ((active0 & 0x40000L) != 0L) return jjStartNfaWithStates_1(6, 18, 0); return jjMoveStringLiteralDfa7_1(active0, 0x2000L, active1, 0L); case 115: if ((active0 & 0x100L) != 0L) return jjStartNfaWithStates_1(6, 8, 0); break; case 117: return jjMoveStringLiteralDfa7_1(active0, 0x8000L, active1, 0L); case 120: if ((active0 & 0x80000000000L) != 0L) return jjStartNfaWithStates_1(6, 43, 0); break; default : break; } return jjStartNfa_1(5, active0, active1); } private final int jjMoveStringLiteralDfa7_1(long old0, long active0, long old1, long active1) { if (((active0 &= old0) | (active1 &= old1)) == 0L) return jjStartNfa_1(5, old0, old1); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_1(6, active0, active1); return 7; } switch(curChar) { case 65: if ((active1 & 0x10L) != 0L) return jjStartNfaWithStates_1(7, 68, 0); break; case 79: return jjMoveStringLiteralDfa8_1(active0, 0x8000L, active1, 0L); case 84: if ((active0 & 0x2000L) != 0L) return jjStartNfaWithStates_1(7, 13, 0); break; case 97: if ((active1 & 0x10L) != 0L) return jjStartNfaWithStates_1(7, 68, 0); break; case 111: return jjMoveStringLiteralDfa8_1(active0, 0x8000L, active1, 0L); case 116: if ((active0 & 0x2000L) != 0L) return jjStartNfaWithStates_1(7, 13, 0); break; default : break; } return jjStartNfa_1(6, active0, active1); } private final int jjMoveStringLiteralDfa8_1(long old0, long active0, long old1, long active1) { if (((active0 &= old0) | (active1 &= old1)) == 0L) return jjStartNfa_1(6, old0, old1); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_1(7, active0, 0L); return 8; } switch(curChar) { case 84: return jjMoveStringLiteralDfa9_1(active0, 0x8000L); case 116: return jjMoveStringLiteralDfa9_1(active0, 0x8000L); default : break; } return jjStartNfa_1(7, active0, 0L); } private final int jjMoveStringLiteralDfa9_1(long old0, long active0) { if (((active0 &= old0)) == 0L) return jjStartNfa_1(7, old0, 0L); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_1(8, active0, 0L); return 9; } switch(curChar) { case 69: if ((active0 & 0x8000L) != 0L) return jjStartNfaWithStates_1(9, 15, 0); break; case 101: if ((active0 & 0x8000L) != 0L) return jjStartNfaWithStates_1(9, 15, 0); break; default : break; } return jjStartNfa_1(8, active0, 0L); } private final int jjMoveNfa_1(int startState, int curPos) { int[] nextStates; int startsAt = 0; jjnewStateCnt = 1; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; MatchLoop: do { switch(jjstateSet[--i]) { case 0: if ((0x3ff000000000000L & l) == 0L) break; kind = 76; jjstateSet[jjnewStateCnt++] = 0; break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 0: if ((0x7fffffe07fffffeL & l) == 0L) break; kind = 76; jjstateSet[jjnewStateCnt++] = 0; break; default : break; } } while(i != startsAt); } else { int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 1 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } } } static final int[] jjnextStates = { 2, 3, 5, 6, 12, 13, 14, 3, 6, 4, 5, 7, 8, 9, 10, }; public static final String[] jjstrLiteralImages = { "", null, null, null, null, "\74\57", null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, "\76", "\75", null, null, null, null, "\74\57", "\74", null, null, null, null, null, }; public static final String[] lexStateNames = { "DEFAULT", "TAG", "ATTLIST", "ATTRVAL", "ATTCOMM", }; public static final int[] jjnewLexState = { -1, -1, -1, -1, 1, 1, -1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -1, -1, 4, 0, 3, -1, -1, -1, -1, 1, 1, -1, 2, -1, -1, 2, }; static final long[] jjtoToken = { 0xfffffffffffffff1L, 0x2e31fffL, }; static final long[] jjtoSkip = { 0xeL, 0x1d00e000L, }; static final long[] jjtoSpecial = { 0x8L, 0x0L, }; private CharStream input_stream; private final int[] jjrounds = new int[16]; private final int[] jjstateSet = new int[32]; protected char curChar; public html32TokenManager(CharStream stream) { input_stream = stream; } public html32TokenManager(CharStream stream, int lexState) { this(stream); SwitchTo(lexState); } public void ReInit(CharStream stream) { jjmatchedPos = jjnewStateCnt = 0; curLexState = defaultLexState; input_stream = stream; ReInitRounds(); } private final void ReInitRounds() { int i; jjround = 0x80000001; for (i = 16; i-- > 0;) jjrounds[i] = 0x80000000; } public void ReInit(CharStream stream, int lexState) { ReInit(stream); SwitchTo(lexState); } public void SwitchTo(int lexState) { if (lexState >= 5 || lexState < 0) throw new TokenMgrError("Error: Ignoring invalid lexical state : " + lexState + ". State unchanged.", TokenMgrError.INVALID_LEXICAL_STATE); else curLexState = lexState; } private final Token jjFillToken() { Token t = Token.newToken(jjmatchedKind); t.kind = jjmatchedKind; String im = jjstrLiteralImages[jjmatchedKind]; t.image = (im == null) ? input_stream.GetImage() : im; t.beginLine = input_stream.getBeginLine(); t.beginColumn = input_stream.getBeginColumn(); t.endLine = input_stream.getEndLine(); t.endColumn = input_stream.getEndColumn(); return t; } int curLexState = 0; int defaultLexState = 0; int jjnewStateCnt; int jjround; int jjmatchedPos; int jjmatchedKind; public final Token getNextToken() { int kind; Token specialToken = null; Token matchedToken; int curPos = 0; EOFLoop : for (;;) { try { curChar = input_stream.BeginToken(); } catch(java.io.IOException e) { jjmatchedKind = 0; matchedToken = jjFillToken(); matchedToken.specialToken = specialToken; return matchedToken; } switch(curLexState) { case 0: jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_0(); break; case 1: jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_1(); break; case 2: jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_2(); break; case 3: jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_3(); break; case 4: jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_4(); break; } if (jjmatchedKind != 0x7fffffff) { if (jjmatchedPos + 1 < curPos) input_stream.backup(curPos - jjmatchedPos - 1); if ((jjtoToken[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) { matchedToken = jjFillToken(); matchedToken.specialToken = specialToken; if (jjnewLexState[jjmatchedKind] != -1) curLexState = jjnewLexState[jjmatchedKind]; return matchedToken; } else { if ((jjtoSpecial[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) { matchedToken = jjFillToken(); if (specialToken == null) specialToken = matchedToken; else { matchedToken.specialToken = specialToken; specialToken = (specialToken.next = matchedToken); } } if (jjnewLexState[jjmatchedKind] != -1) curLexState = jjnewLexState[jjmatchedKind]; continue EOFLoop; } } int error_line = input_stream.getEndLine(); int error_column = input_stream.getEndColumn(); String error_after = null; boolean EOFSeen = false; try { input_stream.readChar(); input_stream.backup(1); } catch (java.io.IOException e1) { EOFSeen = true; error_after = curPos <= 1 ? "" : input_stream.GetImage(); if (curChar == '\n' || curChar == '\r') { error_line++; error_column = 0; } else error_column++; } if (!EOFSeen) { input_stream.backup(1); error_after = curPos <= 1 ? "" : input_stream.GetImage(); } throw new TokenMgrError(EOFSeen, curLexState, error_line, error_column, error_after, curChar, TokenMgrError.LEXICAL_ERROR); } } }